import Cookies from 'js-cookie'

const KEY = 'token_key'
// 获取
export function getCookie () {
  return Cookies.get(KEY)
}
// 设置
export function setCookie (value) {
  Cookies.set(KEY, value)
}
// 删除
export function removeCookie () {
  Cookies.remove(KEY)
}